package io;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import view.Designer;/** * A class to encapsulate the reading of an image * @author Daniel Bond, Mohammed Abdullah, Gideon Pyzer * */
public class ImageReader 
{
	/**
	 * reads logo image in
	 * @return JLabel - the label with the image in.
	 */
	public JLabel readImage() 
	{
		JLabel imageLabel = null;
		ImageIcon banner = new ImageIcon(Designer.class.getResource("/images/banner.png"));
		imageLabel = new JLabel();
		imageLabel.setIcon(banner);
		return imageLabel;
	}
}